package everything.search.trees.nodes;

import everything.search.AgentState;

public class GameTreeDualNode extends GameTreeNode{
	
	int _value;
	AgentState _otherState;
	
	public GameTreeDualNode(AgentState state, GameTreeNode parent, double value, String move, AgentState otherState){
		super(state, parent, value, move);
		this._otherState = otherState;
	}
	
	public AgentState getState(){
		return _state;
	}

	public double getValue() {
		return _value;
	}

	public void setValue(int value) {
		_value = value;
		
	}
	
	public String toString(){
		return "Value: " + _value +" State1: " + super.toString() + " State2: " + _otherState.toString(); 
	}
}
